﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GLDotNet.Toolkit
{
    public class GLFWException : InvalidOperationException
    {
        public int ErrorCode
        {
            get;
            private set;
        }

        public GLFWException(int error, string message)
            : base(message)
        {
            this.ErrorCode = error;
        }

        public GLFWException(string message)
            : base(message)
        {
        }
    }
}
